var mongoose = require('mongoose');

var db = mongoose.createConnection('47.92.111.83','account'); //创建一个数据库连接

db.on('error',console.error.bind(console,'连接错误:'));
db.once('open',function(){
  console.log("mongo connected...");

  
});